package com.dataimport.entity.targetentity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("score")
public class Score {
  @TableId(type = IdType.AUTO)
  private Long id;
  /**
   * 日历id
   */
  private Long calendarId;
  /**
   * 学生证
   */
  private Long studentCode;
  /**
   * 进程id
   */
  private String courseCode;
  /**
   * 获得学分
   */
  private Double obtainingCredits;
  /**
   * 绩点
   */
  private double gradePoint;
  /**
   * 成就
   */
  private String achievement;
  /**
   * 创建时间
   */
  @TableField(value = "create_time",fill = FieldFill.INSERT)
  private Date createTime;
  /**
   * 修改时间
   */
  @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
  private Date updateTime;


}
